package com.review.model;

import java.util.*;

public class CallGraph {
	public static class MethodNode {
		public String methodId; // com.acme.Foo#bar(String):void
		public String classFqn;
		public String signature;
		public String file;
		public int lineStart;
		public int lineEnd;
	}

	public static class CallEdge {
		public String caller;
		public String callee;
		public String kind; // static|virtual|interface|unknown
	}

	public Map<String, MethodNode> nodes = new LinkedHashMap<>();
	public List<CallEdge> edges = new ArrayList<>();
}

